# m行n列*号的矩阵

m = 4
n = 5
# 方法一
# for x in range(m):
#     s = "*" * n
#     print(s)
# 方法二
# i = 0
# while i < 5:
#     print("*"*n)
#     i +=1
# 方法三
for x in range(m):
    for y in range(n):
        print("*",end="")
    print()